package com.rz.htk.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rz.htk.order.entity.Recipients;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RecipientsMapper extends BaseMapper<Recipients>{
    @Select("select * from Recipients ")
    public List<Recipients> listRecipients();

    @Select("select * from Recipients where code=#{code} and del_flag=0")
    public List<Recipients> listRecipientsByCode(String code);
}
